package jspts.qotd.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>ServerConnections</code>.
 */
public interface ServerConnectionsAsync {
	void sendQuestionToServer(String input, AsyncCallback<String> callback)
			throws IllegalArgumentException;
	void receiveQuestionFromServer(AsyncCallback<String> callback)
	throws IllegalArgumentException;
}
